<template>
  <div class="paper">
    <NavHeader title="毕业论文" />
    <div class="paper-contanier">
      <div class="paper-tip">
        <img class="tip-img1" src="@/assets/imgs/draft_con_top_bg1.png" alt="">
        <span>
          <img class="tip-i" :src="img_i1" alt="" />
          你只负责输入标题，写论文的这100小时，小微来帮你节省 
        </span>
        <img class="tip-img2" src="@/assets/imgs/draft_con_top_bg2.png" alt="">
      </div>
      <div class="paper-title"> 毕业论文 </div>
      <div class="paper-content">
        <div class="content-tit"> 提交论文标题 </div>
        <el-input v-model="input" placeholder="输入完整的论文标题，获得更好的生成效果(5-50字内或20个单词内）"></el-input>
        <div class="content-radio">
          <span class="label">选择学历：</span>
          <el-radio-group v-model="radio">
            <el-radio :label="1">大专</el-radio>
            <el-radio :label="2">本科</el-radio>
            <el-radio :label="3">硕士</el-radio>
          </el-radio-group>
        </div>
        <div class="content-check">
          <el-checkbox v-model="checked"></el-checkbox>
          <span>我已阅读并同意：生成的论文范文仅用于参考，不作为毕业、发表使用</span>
        </div>
        <div class="content-btn">
          <div class="cbtn">立即生成</div>
        </div>
      </div>
    </div>
  </div>
</template>

<script>
import { img_i1 } from './config'
export default {
  name: 'Paper',
  data() {
    return {
      img_i1,
      input: '',
      radio: 2,
      checked: true,
    }
  }
}
</script>

<style lang="less" scoped>
.paper {
  min-width: 1200px;
  min-height: 100vh;
  padding: 30px 0 80px;
  background-color: #fff;
  box-sizing: border-box;
  .paper-contanier {
    width: 1200px;
    margin: 0 auto;
    .paper-tip {
      height: 50px;
      background: linear-gradient(90deg,#fff,#f3f7ff);
      box-shadow: 0 0 30px 1px rgba(0,0,0,.06);
      border-radius: 10px 10px 10px 10px;
      width: 100%;
      border: 2px solid #fff;
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 30px;
      position: relative;
      box-sizing: border-box;
      .tip-img1 {
        position: absolute;
        top: 0;
        left: 0;
      }
      span {
        color: #3f4654;
        display: flex;
        align-items: center;
      }
      .tip-img2 {
        position: absolute;
        top: 0;
        right: 0;
      }
    }
    .paper-title {
      font-size: 30px;
      font-weight: 400;
      color: #3f4654;
      line-height: 42px;
      margin-top: 130px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    .paper-content {
      max-width: 720px;
      margin: 0 auto;
      margin-top: 130px;
      .content-tit {
        font-size: 16px;
        font-weight: 400;
        color: #3f4654;
        line-height: 22px;
        position: relative;
        padding-left: 10px;
        box-sizing: border-box;
        margin-bottom: 14px;
        &::before {
          content: "";
          width: 4px;
          height: 18px;
          background: #547dff;
          border-radius: 4px 4px 4px 4px;
          margin-right: 6px;
          position: absolute;
          left: 0;
          top: 3px;
        }
      }
      .content-radio {
        display: flex;
        align-items: center;
        margin-top: 24px;
        .label {
          font-size: 14px;
          font-weight: 400;
          color: #8b9098;
          line-height: 20px;
          margin-right: 10px;
        }
      }
      .content-check {
        margin-top: 24px;
        text-align: left;
        display: flex;
        align-items: center;
        cursor: pointer;
        span {
          font-size: 14px;
          margin-left: 10px;
          color: #9ea2a9;
        }
      }
    }
    .content-btn {
      margin-top: 40px;
      .cbtn {
        width: 180px;
        height: 46px;
        line-height: 46px;
        text-align: center;
        background: linear-gradient(90deg,#408cff,#577bff);
        box-shadow: 0 0 30px 1px rgba(70,122,242,.12);
        border-radius: 8px 8px 8px 8px;
        font-size: 16px;
        font-weight: 400;
        color: #fff;
        cursor: pointer;
        transition: all .3s;
        margin: 0 auto;
        &:hover {
          box-shadow: 0 0 35px 1px rgba(70,122,242,.32);
        }
      }
    }
  }
}
</style>